package com.yml.rust.imageproc;

public class ImageProcLib {

    // 先加载rust库，库名一定是Cargo.toml中定义的 package name
    static {
        System.loadLibrary("image_processing");
    }

    // 定义native方法
    public static native byte[] clahe(int[] raw, int width, int height, int block_number, int limit);

    public static native byte[] clahe(byte[] raw, int width, int height, int block_number, int limit);


    public static native String testByteArrTrans(byte[] byteArr);

}
